package test;

import java.util.Arrays;

/**
 * @Author Stringzhua
 * @Date 2024/6/28 18:05
 * description:
 */
public class test01 {
    public static void main(String[] args) {
        int a=4,b=2,c=3;
        int[] arr= new int[3];
        arr[0]=a;
        arr[1]=b;
        arr[2]=c;
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
//        int[] score = new int[]{7, 2, 3, 4, 5};
//        int temp = score[0];
//        for (int index = 1; index < 5; index++) {
//            if (score[index] < temp) {
//                temp = score[index];
//            }
//        }
    }
}
